package com.whynot.frame.auth.shiro.service;


import java.util.Map;
import java.util.Set;

/**
 * 描述: 抽象用户登录之后的认证接口:
 * 作者: chenyao
 * 日期: 2018-01-30.
 * 项目名称: curtain-whynot-shiro-jwt-server
 * 版本: 1.0.0
 * JDK: since 1.8
 */
public interface UserRealmService {
    Map<String,Object> getUser(String userName);

    Set<String> findRolesByUser(String userId);

    Set<String> findPermissionsByUser(String userId);
}